package com.tingyuge.thinking.spring.configuration.metadata;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * @author xiaodao
 * @version 1.0
 * @date 2021/8/22
 */
public class UsersNamespaceHandler extends NamespaceHandlerSupport {
    @Override
    public void init() {
        //将user元素注册对应的 BeanDefinitionParse实现
        registerBeanDefinitionParser("user",new UserBeanDefinitionParser());
    }
}
